home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
- <HTML lang="en">
- <HEAD>
- <TITLE>View Catalog Records</TITLE>
- </HEAD>
- <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
- <dtml-var manage_tabs>
-
- <p> Subtransactions allow Zope to commit small parts of a
- transaction over a period of time instead of all at once. For
- ZCatalog, this means using subtransactions can signficantly
- reduce the memory requirements needed to index huge amounts of
- text all at once.</p>
-
- <p> If enabled, subtransactions will reduce the memory
- requirements of ZCatalog, but <em>at the expense of speed</em>.
- If you choose to enable subtransactions, you can adjust how often
- ZCatalog commits a subtransactions by adjusting the
- <b>threshold</b> below.</p>
-
- <p> If you are using ZCatalog and ZSQL Methods in the same
- transaction, you <b>must</b> disable subtransactions, they are not
- compatible with ZSQL Methods.</p>
-
- <h3>Subtransactions are
- <dtml-if threshold>
- <font color="green"><b>Enabled</b></font>
- <dtml-else>
- <font color="red"><b>Disabled</b></font>
- </dtml-if></h3>
-
- <form action="." method=POST>
- <dtml-if threshold>
- <input type=submit name="manage_subbingToggle:method"
- value="Disable"> Subtransactions
- <dtml-else>
- <input type=submit name="manage_subbingToggle:method"
- value="Enable"> Subtransactions
- </dtml-if>
- </form>
-
- <form action="manage_edit" method=POST>
- <dtml-if threshold>
-
- <p>The Subtransaction threshold is the number of words the catalog
- will index before it commits a subtransaction. If this number
- is low, the Catalog will take longer to index but consume less
- memory. If this number is higher, the Catalog will index
- quickly but consume much more memory.</p>
-
- Subtransaction threshold: <input name="threshold:int" value="<dtml-var
- threshold html_quote>"><br> <input type=submit value=" Change ">
-
- </dtml-if>
- </form>
-
- <hr width=75%>
- <h3>Index Status</h3>
-
- <ul>
- <dtml-in index_objects sort=id>
- <li>
- <dtml-var "_.len(_['sequence-item'])">
- object are indexed in <b><dtml-var "_['sequence-item'].id"></b>
- </li>
- </dtml-in>
- </ul>
- </BODY>
- </HTML>
-
-
-
-
-
-
-